\section{ec\+\_\+sdo\+\_\+request Struct Reference}
\label{structec__sdo__request}\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}


C\+A\+Nopen S\+DO request.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct list\+\_\+head \textbf{ list}
\begin{DoxyCompactList}\small\item\em List item. \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ index}
\begin{DoxyCompactList}\small\item\em S\+DO index. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ subindex}
\begin{DoxyCompactList}\small\item\em S\+DO subindex. \end{DoxyCompactList}\item 
uint8\+\_\+t $\ast$ \textbf{ data}
\begin{DoxyCompactList}\small\item\em Pointer to S\+DO data. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ mem\+\_\+size}
\begin{DoxyCompactList}\small\item\em Size of S\+DO data memory. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ data\+\_\+size}
\begin{DoxyCompactList}\small\item\em Size of S\+DO data. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ complete\+\_\+access}
\begin{DoxyCompactList}\small\item\em S\+DO shall be transferred completely. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ issue\+\_\+timeout}
\begin{DoxyCompactList}\small\item\em Maximum time in ms, the processing of the request may take. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ response\+\_\+timeout}
\begin{DoxyCompactList}\small\item\em Maximum time in ms, the transfer is retried, if the slave does not respond. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+direction\+\_\+t} \textbf{ dir}
\begin{DoxyCompactList}\small\item\em Direction. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+internal\+\_\+request\+\_\+state\+\_\+t} \textbf{ state}
\begin{DoxyCompactList}\small\item\em S\+DO request state. \end{DoxyCompactList}\item 
unsigned long \textbf{ jiffies\+\_\+start}
\begin{DoxyCompactList}\small\item\em Jiffies, when the request was issued. \end{DoxyCompactList}\item 
unsigned long \textbf{ jiffies\+\_\+sent}
\begin{DoxyCompactList}\small\item\em Jiffies, when the upload/download request was sent. \end{DoxyCompactList}\item 
int \textbf{ errno}
\begin{DoxyCompactList}\small\item\em Error number. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ abort\+\_\+code}
\begin{DoxyCompactList}\small\item\em S\+DO request abort code. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
C\+A\+Nopen S\+DO request. 

Definition at line 48 of file sdo\+\_\+request.\+h.



\subsection{Field Documentation}
\mbox{\label{structec__sdo__request_a80c68878d98d613513a0b985be43198e}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!list@{list}}
\index{list@{list}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{list}
{\footnotesize\ttfamily struct list\+\_\+head ec\+\_\+sdo\+\_\+request\+::list}



List item. 



Definition at line 49 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_ad8ef54b4c7495a17c81eabff59e079fd}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!index@{index}}
\index{index@{index}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{index}
{\footnotesize\ttfamily uint16\+\_\+t ec\+\_\+sdo\+\_\+request\+::index}



S\+DO index. 



Definition at line 50 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_af3b7a335ce659260bed0d04f90ba9e4a}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!subindex@{subindex}}
\index{subindex@{subindex}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{subindex}
{\footnotesize\ttfamily uint8\+\_\+t ec\+\_\+sdo\+\_\+request\+::subindex}



S\+DO subindex. 



Definition at line 51 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_aa1f9c68c95c5fde23ed0807abf884b08}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!data@{data}}
\index{data@{data}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{data}
{\footnotesize\ttfamily uint8\+\_\+t$\ast$ ec\+\_\+sdo\+\_\+request\+::data}



Pointer to S\+DO data. 



Definition at line 52 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_a6275d28bba5bc2a428915b717fe425e5}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!mem\+\_\+size@{mem\+\_\+size}}
\index{mem\+\_\+size@{mem\+\_\+size}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{mem\+\_\+size}
{\footnotesize\ttfamily size\+\_\+t ec\+\_\+sdo\+\_\+request\+::mem\+\_\+size}



Size of S\+DO data memory. 



Definition at line 53 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_a9a094314f738ed0fdf4b46f4bd37dfe9}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!data\+\_\+size@{data\+\_\+size}}
\index{data\+\_\+size@{data\+\_\+size}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{data\+\_\+size}
{\footnotesize\ttfamily size\+\_\+t ec\+\_\+sdo\+\_\+request\+::data\+\_\+size}



Size of S\+DO data. 



Definition at line 54 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_a98a6142382d920ac06195dd6b6de2990}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!complete\+\_\+access@{complete\+\_\+access}}
\index{complete\+\_\+access@{complete\+\_\+access}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{complete\+\_\+access}
{\footnotesize\ttfamily uint8\+\_\+t ec\+\_\+sdo\+\_\+request\+::complete\+\_\+access}



S\+DO shall be transferred completely. 



Definition at line 55 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_a042249b5e1776a0c0b6fc3003ef939a2}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!issue\+\_\+timeout@{issue\+\_\+timeout}}
\index{issue\+\_\+timeout@{issue\+\_\+timeout}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{issue\+\_\+timeout}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+sdo\+\_\+request\+::issue\+\_\+timeout}



Maximum time in ms, the processing of the request may take. 



Definition at line 56 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_a0282ca505cf8acbbe9ecbbd1999967a9}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!response\+\_\+timeout@{response\+\_\+timeout}}
\index{response\+\_\+timeout@{response\+\_\+timeout}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{response\+\_\+timeout}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+sdo\+\_\+request\+::response\+\_\+timeout}



Maximum time in ms, the transfer is retried, if the slave does not respond. 



Definition at line 58 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_aaccb8ada520d7948b4f61653df6e871f}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!dir@{dir}}
\index{dir@{dir}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{dir}
{\footnotesize\ttfamily \textbf{ ec\+\_\+direction\+\_\+t} ec\+\_\+sdo\+\_\+request\+::dir}



Direction. 

E\+C\+\_\+\+D\+I\+R\+\_\+\+O\+U\+T\+P\+UT means downloading to the slave, E\+C\+\_\+\+D\+I\+R\+\_\+\+I\+N\+P\+UT means uploading from the slave. 

Definition at line 60 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_a0c50e10b80720d00f11863e76ecc1755}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!state@{state}}
\index{state@{state}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{state}
{\footnotesize\ttfamily \textbf{ ec\+\_\+internal\+\_\+request\+\_\+state\+\_\+t} ec\+\_\+sdo\+\_\+request\+::state}



S\+DO request state. 



Definition at line 63 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_aa5be223c362a630833451bd57471a05f}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!jiffies\+\_\+start@{jiffies\+\_\+start}}
\index{jiffies\+\_\+start@{jiffies\+\_\+start}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{jiffies\+\_\+start}
{\footnotesize\ttfamily unsigned long ec\+\_\+sdo\+\_\+request\+::jiffies\+\_\+start}



Jiffies, when the request was issued. 



Definition at line 64 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_ad5d35e78085bce7e20a02753024e5822}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!jiffies\+\_\+sent@{jiffies\+\_\+sent}}
\index{jiffies\+\_\+sent@{jiffies\+\_\+sent}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{jiffies\+\_\+sent}
{\footnotesize\ttfamily unsigned long ec\+\_\+sdo\+\_\+request\+::jiffies\+\_\+sent}



Jiffies, when the upload/download request was sent. 



Definition at line 65 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_a1119ddcb79a3deed62e3890481109030}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!errno@{errno}}
\index{errno@{errno}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{errno}
{\footnotesize\ttfamily int ec\+\_\+sdo\+\_\+request\+::errno}



Error number. 



Definition at line 67 of file sdo\+\_\+request.\+h.

\mbox{\label{structec__sdo__request_aaa992ddb3f070824088161dffb347b3e}} 
\index{ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}!abort\+\_\+code@{abort\+\_\+code}}
\index{abort\+\_\+code@{abort\+\_\+code}!ec\+\_\+sdo\+\_\+request@{ec\+\_\+sdo\+\_\+request}}
\subsubsection{abort\+\_\+code}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+sdo\+\_\+request\+::abort\+\_\+code}



S\+DO request abort code. 

Zero on success. 

Definition at line 68 of file sdo\+\_\+request.\+h.

